//
//  YLAccount.h
//  YLFinanceService
//
//  Created by she1323 on 2017/8/23.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import <Foundation/Foundation.h>
@class YLMyAdressModel;
@class YLMyInfoModel;
@interface YLAccount : NSObject<NSCoding, NSCopying>
+ (instancetype)accountWithDict:(NSDictionary *)dict;

@property (nonatomic, strong) NSString *token;

/**
 用户名 手机号
 */
@property (nonatomic, strong) NSString *userName;

/**
 手机号
 */
@property (nonatomic, strong) NSString *phoneNumber;

/**
 身份证号
 */
@property (nonatomic, strong) NSString *identityID;

/**
 昵称
 */
@property (nonatomic, strong) NSString *authName;

@property (nonatomic, strong) NSString *aa;

@property (nonatomic, assign) NSInteger pointQuota;

/**
 默认地址
 */
@property (nonatomic, strong) YLMyAdressModel *defaultAddress;

@property (nonatomic, strong) YLMyInfoModel *infoModel;

/**
 认证状态 1-已认证 0-未认证
 */
@property (nonatomic, assign) NSInteger authState;


/**
 测评等级 未测为0
 */
@property (nonatomic, assign) NSInteger fundRiskGrade;

//
@property (nonatomic, assign) BOOL isPassed;

@property (nonatomic, strong) NSString *shareUrl;

/**
 业务员名字
 */
@property (nonatomic, strong) NSString *workerName;

/**
 业务员编号
 */
@property (nonatomic, strong) NSString *workerNum;

@property (nonatomic, strong) NSString *workerPhone;

@property (nonatomic, strong) NSString *noticeId;

@property (nonatomic, strong) NSString *tag;

@property (nonatomic, strong) NSString *alias;


/**
 资格通过
 */
@property (nonatomic, assign) BOOL fundQualifications;


@end
